package com.yugao.fintech.antelope.mps.assembly;

import com.yugao.fintech.antelope.mps.model.entity.MsgPushTask;
import com.yugao.fintech.antelope.mps.model.rqrs.task.PushTaskResp;
import com.yugao.fintech.antelope.mps.model.rqrs.task.PushTaskSaveReq;
import com.yugao.fintech.antelope.mps.model.rqrs.task.PushTaskUpdateReq;
import com.yugao.fintech.antelope.mps.model.rqrs.task.SubscribePushTaskResp;
import org.mapstruct.Mapper;

/**
 * 消息推送任务
 *
 
 */
@Mapper(componentModel = "spring")
public interface MsgPushTaskAssembly {
  PushTaskResp toPushTaskResp(MsgPushTask source);
  
  MsgPushTask toPushTask(PushTaskSaveReq source);

  MsgPushTask toPushTask(PushTaskUpdateReq source);

  SubscribePushTaskResp toSubscribePushTaskResp(MsgPushTask source);
}
